<template>
	<view class="main animated fadeIn faster" style="overflow: hidden;">
		<view class="content position-fixed z-index-100" :style="{'paddingTop':$store.state.statusBarHeight+'px','backgroundColor':bgcolor}">
			<view class="title">
				<view class="goback" @click="goback">
					<image src="../../static/组 2457.png"></image>
				</view>
				<text>我的记录</text>
			</view>
		</view>
		<view class="tabbar position-fixed z-index-100">
			<view :class="['item', ctype == 0? 'current':'']" @click="changType(0)">收藏</view>
			<view :class="['item', ctype == 1? 'current':'']" @click="changType(1)">赞过</view>
			<view :class="['item', ctype == 2? 'current':'']" @click="changType(2)">浏览</view>
		</view>
		<view class="px-1 mt-3 pb-3 pt-300" v-if="ctype == 0">
			<view class="bg-fff rounded30 px-2 py-3">
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">茵茵</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view class="pb-2" style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view><strong></strong>
				
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">7737.摇光（国野）</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view class="pb-2" style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view><strong></strong>
				
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">7737.摇光（国野）</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="px-1 mt-3 pb-3 pt-300" v-if="ctype == 1">
			<view class="bg-fff rounded30 px-2 py-3">
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">7737.摇光（国野）</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="px-1 mt-3 pb-3 pt-300" v-if="ctype == 2">
			<view class="bg-fff rounded30 px-2 py-3">
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">7737.摇光（国野）</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view>
				<view class="mb-4">
					<view class="font24 color999 mb-2">2024/09</view>
					<view class="d-flex d-flex-middle d-flex-between mb-1">
						<view class="d-flex d-flex-middle">
							<view class="img-bg d-flex d-flex-center d-flex-middle mr-1" style="position: relative;">
								<image src="https://gp-dev.cdn.bcebos.com/gp-dev/upload/file/source/5652440e6d12b379395e0eccfb7f9452.png" class="img-bg-img"></image>
								<view class="sex" style="position: absolute; width: 35rpx; height: 35rpx; bottom: 10rpx; right: 10rpx;">
									<image src="https://yuexiaoda-1314351529.cos.ap-shanghai.myqcloud.com/app/%E7%BB%84%203404.png" style="width: 100%; height: 100%;"></image>
								</view>
							</view>
							<view>
								<view class="mb-1 font30">7737.摇光（国野）</view>
								<view class="font24 color999">09-20 09:27</view>
							</view>
						</view>
						<view class="d-flex d-flex-middle">
							<text class="iconfont icon-gengduo"></text>
						</view>
					</view>
					
					<view style="padding-left: 120rpx;">
						<view class="mb-2">
							<image class="rounded30" src="https://t12.baidu.com/it/u=1920533683,227091777&fm=30&app=106&f=JPEG?w=640&h=367&s=3E36058C40F0D1D6583A978A0300A09F" mode="widthFix" style="width: 500rpx;"></image>
						</view>
						
						<view class="font26 mb-2">
							今日火热开启 开局强力礼包
						</view>
						
						<view class="d-flex d-flex-middle pr-3 d-flex-between">
							<text class="iconfont icon-bianji color6d"></text>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-aixin1 color6d"></text>
								<text class="color71 font26 ml-1">4</text>
							</view>
							<view class="d-flex d-flex-middle">
								<text class="iconfont icon-pinglun color6d"></text>
								<text class="color71 font26 ml-1">评论</text>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="reload mb-15">点击重新加载</view>
	</view>
</template>

<script>
	import store from '@/store/index.js';
	export default {
		data() {
			return {
				ctype:0,
				bgcolor:'transparent',
			}
		},
		methods: {
			changType(type){
				this.ctype = type
			},
			goback() {
				uni.navigateBack({
					delta: 1
				});
			}
		}
	}
</script>

<style scoped lang="scss">
.main {
	background: #fff;
	.content {
		width: 100%;
		background-color: #fff !important;
	}
}
.title {
	display: flex;
	align-items: center;
	font-weight: 700;
	height: 80rpx;
	.goback {
		image {
			margin-left: 50rpx;
			width: 20rpx;
			height: 30rpx;
		}
	}
	text {
		flex: 1;
		margin-right: 50rpx;
		font-size: 34rpx;
		text-align: center;
	}
}
.pt-300 {
	padding-top: 300rpx;
}
.tabbar {
	width: 100%;
	height: 100rpx;
	display: flex;
	top: 170rpx;
	background-color: #fff;
	align-items: center;
	margin-left: 30rpx;
	padding-top: 30rpx;
	.item {
		color: #6f6f6f;
		font-size: 32rpx;
		font-weight: 700;
		margin: 0 20rpx;
	}
}
.reload {
	text-align: center;
	color: #5cb1ff;
}
.current {
	padding: 10rpx 35rpx;
	border-radius: 30rpx;
	border: 1px solid #46c5fc;
	background-color: #cfeffa;
}
.liner{
	border-radius: 30rpx;
	height: 8rpx;
	width: 56rpx;
	background-color: transparent;
}
.lon{
	background-color: #f064cf;
}
.img-bg{
	width: 120rpx;
	height: 120rpx;
	border-radius: 120rpx;
	background-image: linear-gradient(to top, #fab452, #9d41d3);
}
.img-bg-img{
	height: 100rpx;
	width: 100rpx;
	border-radius: 100rpx;
	border: solid 5rpx #fff;
}
.huati{
	background: linear-gradient( 90deg, #5DB0FE 0%, rgba(93,176,254,0.8) 1%, #E8BAFC 100%);
}
.quanzi{
	background: linear-gradient( 90deg, #D951C6 1%, #FB9AB0 100%);
}
.huodong{
	background: linear-gradient( 90deg, #5DB0FE 1%, #86F5C9 100%);
}
.aixin{
	background: #FFA5DF;
	width: 90rpx;
}
</style>
